package com.qf.dao;

import com.qf.pojo.SysUsers;
import org.apache.ibatis.annotations.Param;

import java.util.Set;

/**
 * @author 千锋教育
 * @Company http://www.mobiletrain.org/
 * @Version 1.0
 */
public interface UserDao {
    SysUsers findByUsername(String username);

    Set<String> queryRolesByUserId(@Param("userId") int userId);

    Set<String> queryPermsByUserId(@Param("userId") int userId);
}
